package com.kt.dion.golf.data;

import java.util.ArrayList;

import com.kt.dion.golf.util.ResourceManager;

public class ReplyData extends Data
{
	private ArrayList arrReply = new ArrayList();

	public static final String FILE_NAME_DETAIL_IMAGE = "DetailImage.png";

	public void addReply(Reply reply)
	{
		arrReply.add(reply);
	}

	public Reply getReply(int i)
	{
		return (Reply) arrReply.get(i);
	}

	public class Reply
	{
		private String nickName;
		private String text;

		public String getNickName()
		{
			return nickName;
		}

		public void setNickName(String nickName)
		{
			this.nickName = nickName;
		}

		public String getText()
		{
			return text;
		}

		public void setText(String text)
		{
			this.text = text;
		}
	}

	public String toString()
	{
		return null;
	}

	public void dispose(boolean isDisposeOfPage)
	{
		ResourceManager.getInstance().removeImage(FILE_NAME_DETAIL_IMAGE);

		arrReply.clear();
		arrReply = null;
	}
}
